﻿<%@ Control Language="C#" ClassName="PatCitaTallerFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataIdTaller" runat="server" Text="Id Taller:" AssociatedControlID="dataIdTaller" /></td>
        <td>
					<data:EntityDropDownList runat="server" ID="dataIdTaller" DataSourceID="IdTallerPatTallerDataSource" DataTextField="DescripcionTaller" DataValueField="IdTaller" SelectedValue='<%# Bind("IdTaller") %>' AppendNullItem="true" Required="true" NullItemText="< Seleccione ...>" ErrorText="Required" />
					<data:PatTallerDataSource ID="IdTallerPatTallerDataSource" runat="server" SelectMethod="GetAll"  />
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataFechaCita" runat="server" Text="Fecha Cita:" AssociatedControlID="dataFechaCita" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataFechaCita" Text='<%# Bind("FechaCita", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataFechaCita" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataFechaCita" runat="server" Display="Dynamic" ControlToValidate="dataFechaCita" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataHoraCita" runat="server" Text="Hora Cita:" AssociatedControlID="dataHoraCita" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataHoraCita" Text='<%# Bind("HoraCita", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataHoraCita" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataHoraCita" runat="server" Display="Dynamic" ControlToValidate="dataHoraCita" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIdRecepcionistaAsignado" runat="server" Text="Id Recepcionista Asignado:" AssociatedControlID="dataIdRecepcionistaAsignado" /></td>
        <td>
					<data:EntityDropDownList runat="server" ID="dataIdRecepcionistaAsignado" DataSourceID="IdRecepcionistaAsignadoPatEmpleadoDataSource" DataTextField="IdTipoIdentificacion" DataValueField="IdEmpleado" SelectedValue='<%# Bind("IdRecepcionistaAsignado") %>' AppendNullItem="true" Required="true" NullItemText="< Seleccione ...>" ErrorText="Required" />
					<data:PatEmpleadoDataSource ID="IdRecepcionistaAsignadoPatEmpleadoDataSource" runat="server" SelectMethod="GetAll"  />
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIdCatalogo" runat="server" Text="Id Catalogo:" AssociatedControlID="dataIdCatalogo" /></td>
        <td>
					<data:EntityDropDownList runat="server" ID="dataIdCatalogo" DataSourceID="IdCatalogoPatCatalogoVehiculoDataSource" DataTextField="CodigoInternoCatalogo" DataValueField="IdCatalogo" SelectedValue='<%# Bind("IdCatalogo") %>' AppendNullItem="true" Required="true" NullItemText="< Seleccione ...>" ErrorText="Required" />
					<data:PatCatalogoVehiculoDataSource ID="IdCatalogoPatCatalogoVehiculoDataSource" runat="server" SelectMethod="GetAll"  />
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataPlacaVehiculo" runat="server" Text="Placa Vehiculo:" AssociatedControlID="dataPlacaVehiculo" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataPlacaVehiculo" Text='<%# Bind("PlacaVehiculo") %>' MaxLength="10"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataPlacaVehiculo" runat="server" Display="Dynamic" ControlToValidate="dataPlacaVehiculo" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataNombreCliente" runat="server" Text="Nombre Cliente:" AssociatedControlID="dataNombreCliente" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataNombreCliente" Text='<%# Bind("NombreCliente") %>' MaxLength="200"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataNombreCliente" runat="server" Display="Dynamic" ControlToValidate="dataNombreCliente" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataTelefonoFijoCliente" runat="server" Text="Telefono Fijo Cliente:" AssociatedControlID="dataTelefonoFijoCliente" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataTelefonoFijoCliente" Text='<%# Bind("TelefonoFijoCliente") %>' MaxLength="20"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataTelefonoFijoCliente" runat="server" Display="Dynamic" ControlToValidate="dataTelefonoFijoCliente" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataTelefonoMovilCliente" runat="server" Text="Telefono Movil Cliente:" AssociatedControlID="dataTelefonoMovilCliente" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataTelefonoMovilCliente" Text='<%# Bind("TelefonoMovilCliente") %>' MaxLength="20"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataTelefonoMovilCliente" runat="server" Display="Dynamic" ControlToValidate="dataTelefonoMovilCliente" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataEMailCliente" runat="server" Text="E Mail Cliente:" AssociatedControlID="dataEMailCliente" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataEMailCliente" Text='<%# Bind("EMailCliente") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataEMailCliente" runat="server" Display="Dynamic" ControlToValidate="dataEMailCliente" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIdKit" runat="server" Text="Id Kit:" AssociatedControlID="dataIdKit" /></td>
        <td>
					<data:EntityDropDownList runat="server" ID="dataIdKit" DataSourceID="IdKitPatKitDataSource" DataTextField="DescripcionKit" DataValueField="IdKit" SelectedValue='<%# Bind("IdKit") %>' AppendNullItem="true" Required="false" NullItemText="< Seleccione ...>" />
					<data:PatKitDataSource ID="IdKitPatKitDataSource" runat="server" SelectMethod="GetAll"  />
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIdEstadoCita" runat="server" Text="Id Estado Cita:" AssociatedControlID="dataIdEstadoCita" /></td>
        <td>
					<data:EntityDropDownList runat="server" ID="dataIdEstadoCita" DataSourceID="IdEstadoCitaPatEstadoCitaDataSource" DataTextField="DescripcionEstadoCita" DataValueField="IdEstadoCita" SelectedValue='<%# Bind("IdEstadoCita") %>' AppendNullItem="true" Required="true" NullItemText="< Seleccione ...>" ErrorText="Required" />
					<data:PatEstadoCitaDataSource ID="IdEstadoCitaPatEstadoCitaDataSource" runat="server" SelectMethod="GetAll"  />
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataObservaciones" runat="server" Text="Observaciones:" AssociatedControlID="dataObservaciones" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataObservaciones" Text='<%# Bind("Observaciones") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataObservaciones" runat="server" Display="Dynamic" ControlToValidate="dataObservaciones" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataActivo" runat="server" Text="Activo:" AssociatedControlID="dataActivo" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataActivo" SelectedValue='<%# Bind("Activo") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Si" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


